import request from '@/api/request';

// 登入
export const loginApi = (data) => request({ url: '/console/sys/login', data, method: 'post', noAuth: true });

// 获取图形验证码
export const getCaptchaImageApi = (data) => request({ url: '/console/captcha/image', data, method: 'get', noAuth: true });

// 修改密码
export const updatePasswordApi = (data) => request({ url: '/console/sys/user/updatePwd', data, method: 'post' });
